package com.haikesi.api.menuauthority.dao;

import com.haikesi.api.menuauthority.domain.po.AuthorityResourcesPO;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;
import tk.mybatis.mapper.common.Mapper;

import java.util.List;

@Repository
public interface AuthorityResourcesDao extends Mapper<AuthorityResourcesPO> {


    int deleteByMenuReId(@Param("authorityId") String authorityId,@Param("oldResourceIds") List<String> oldResourceIds);
}